from django.db import models
from utils.models import BaseModels
# Create your models here.


class OauthQQUser(BaseModels):
    user = models.ForeignKey('users.user',on_delete=models.CASCADE,verbose_name='用户')
    openid = models.CharField(max_length=64,db_index=True,verbose_name='三方登录ID')

    class Meta:
        db_table='tb_oauth_qq'
        verbose_name_plural = 'QQ用户数据'
